package com.platform.usercenter.mapper;

import com.platform.usercenter.domain.SysMenu;
import com.platform.usercenter.domain.SysMenuTreeDTO;
import com.platform.usercenter.domain.SysMiniProgramMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMiniProgramMenuMapper {

    void deleteMiniProgramMenuByCode(SysMiniProgramMenu cardConfigDelete);

    void insertMiniProgramMenuConfig(SysMiniProgramMenu cardConfigs);

    List<SysMenuTreeDTO> selectMiniProgramMenuList(SysMiniProgramMenu cardConfigSelect);

    List<SysMenuTreeDTO> selectMenuByParentIds(@Param("parentIds") List<Long> parentIds);
}
